package AccionBoton;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JFrame;

import paginas.PaginaUsuarios;
import usuario.usuarioTO.UsuarioTO;

public class AccionPageByPageUsuarios implements ActionListener{

	private JFrame _frame;
	private int _startIndex;
	private int _count;
	private Boolean _test;
	private UsuarioTO _user;
	
	public AccionPageByPageUsuarios(JFrame frame, int startIndex, int count,Boolean test,UsuarioTO user){
		
		_frame = frame;
		_startIndex = startIndex;
		_count = count;
		_test = test;
		_user = user;
	}
	
	
	public void actionPerformed(ActionEvent arg0) {
		// TODO Auto-generated method stub
	
		_frame.setContentPane(new PaginaUsuarios(_frame, _startIndex, _count,_test,_user));
		
	}

}
